<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui" lang="zh-CN">
<h:head>

</h:head>
<h:body>
<f:view>
    <h:form>
        <p:panelGrid columns="2">
            <f:facet name="header">用户登录</f:facet>
            <h:outputLabel for="username" value="账号："/>
            <p:inputText id="username" placeholder="Username" label="Usernanme"/>
            <h:outputLabel for="password" value="密码："/>
            <p:password id="password"  placeholder="Password" required="true" label="Password"/>
            <f:facet name="footer">
                <p:commandButton type="button" value="登录" icon="ui-icon-check" style="margin:0"/>
            </f:facet>
        </p:panelGrid>
    </h:form>
</f:view>
</h:body>
</html>
